package edu.sctu.zhoudie.mouth201505.day20150517.TextOne;

/**
 * Created by user08 on 2015/5/17.
 */
public class MyMain {
    public static void main(String[] args) {

        MyData[] myData = new MySturcture().print();
        ChildOne childOne = new ChildOne(myData);
        MyData[] myData1 = childOne.getSysyTem();
        System.out.println(myData1.length);

        for (int i = 0; i < 10; i++) {
            if (myData1[i] != null){
                System.out.println(myData1[i].getName());
            }
        }
    }

}
